import os
#hexV = "5a625a49"
hexV = "89504e47"
l = len(hexV)
i = 0
while i < l:
    st = hexV[i:i+2]
    print (st).decode("hex")
    i += 2
print hexV.decode("hex")
    
